package com.jsb.laundry.model.shops;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * 店铺订单表(JsbOrdersShop)实体类
 *
 * @author makejava
 * @since 2023-08-31 14:11:30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "jsb_orders_shop: table", description = "店铺订单表")
public class JsbOrdersShop implements Serializable {

    private static final long serialVersionUID = 220338497050222269L;

    private Integer id;

    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id")
    private String orderId;
    /**
     *订单物流方向，1 取；2 送
     */
    @ApiModelProperty(value = "订单物流方向，1 取；2 送")
    private String orderDirection;


    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private String userId;

    /**
     * 小站id
     */
    @ApiModelProperty(value = "小站id")
    private String shopId;
    private String nextToId;
    private String tempId;

    /**
     * 骑手id
     */
    @ApiModelProperty(value = "骑手id")
    private String riderId;

    /**
     * 工厂id
     */
    @ApiModelProperty(value = "工厂id")
    private String factoryId;

    /**
     * 状态 1未入库 2已入库 3代取件 4 已出库
     */
    @ApiModelProperty(value = "状态 1未入库 2已入库 3代取件 4 已出库")
    private String shopOrdersStatus;

    /**
     * 入库时间
     */
    @ApiModelProperty(value = "入库时间")
    private Date inAt;

    /**
     * 出库时间
     */
    @ApiModelProperty(value = "出库时间")
    private Date outAt;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updatedAt;

}
